In the standard library in Rust before 1.49.0, VecDeque::make_contiguous has a bug that pops the same element more than once under certain condition. This bug could result in a use-after-free or double free.
In the standard library in Rust before 1.49.0, VecDeque::make_contiguous has a bug that pops the same element more than once under certain condition. This bug could result in a use-after-free or double free.
https://github.com/rust-lang/rust/issues/79808 https://github.com/rust-lang/rust/pull/79814 https://github.com/rust-lang/rust/commit/d32c320d7eee56706486fef6be778495303afe9e https://github.com/rust-lang/rust/commit/527934d15cfbcfa2f92c63acd390b935143d2c05